package org.jmh.gift.client;

import org.jmh.gift.fallback.PayClientFallback;
import org.jmh.gift.util.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;

@FeignClient(value = "gift-pay",fallback = PayClientFallback.class)
public interface PayClient {
    @PutMapping("/payOrder/cancal/{uniPayOrderSn}")
    AjaxResult cancelPayOrder(@PathVariable("uniPayOrderSn")String uniPayOrderSn);

}
